package file;

import java.io.File;

public class FileDemo {
    public static void main(String[] args) {
        File file = new File("");
        String name = file.getName();
        System.out.println(name);
        boolean cr = file.canRead();
        System.out.println(cr);
        boolean cw = file.canWrite();
        System.out.println(cw);
        boolean hi = file.isHidden();
        System.out.println(hi);
    }
}
